package me.hl.proxy;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Created by pulangke on 2017/5/10.
 */
public class BigThanOneFilter implements MyFilter {

    private Logger logger = LoggerFactory.getLogger(BigThanOneFilter.class);


    @Override
    public boolean filter(Integer i) {
        if (i > 1) {
            logger.info("{} is bigger than 1", i);

        }
        return true;

    }
}
